home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Sapphire Collection
/
Software Vault (Sapphire Collection) (Digital Impact).ISO
/
cdr08
/
finst152.zip
/
INIMGR.H_
/
INIMGR.H
Wrap
C/C++ Source or Header
|
1994-07-30
|
1KB
|
24 lines
#define __INIMGR_H
class inimgr
{
public:
static int chksect(char s[], char sect[] = 0);
static int chkentry(char s[], char entry[] = 0);
static int chkcomment(char s[]);
static int parseentry(char s[], char entry[], char value[]);
static int getvalue(char file[], char sect[], char entry[], char value[], int seqno = 0);
static int getnoentries(char file[], char sect[], char entry[] = 0);
static int getentry(char file[], char sect[], int i, char entry[], char value[]);
static int getnolines(char file[], char sect[]);
static int getline(char file[], char sect[], int i, char line[]);
static int addsect(char file[], char sect[]);
static int delsect(char file[], char sect[]);
static int delentry(char file[], char sect[], char entry[], int seqno = 0);
static int delallentries(char file[], char sect[], char entry[] = 0);
static int setvalue(char file[], char sect[], char entry[], char value[], int seqno = 0);
static int insentry(char file[], char sect[], char entry[], char value[], int seqno = 0);
};